3.8.48 \(\int \frac {(a+b x)^n}{x^{3/2}} \, dx\) [748]

Optimal. Leaf size=43 \[ -\frac {2 (a+b x)^n \left (1+\frac {b x}{a}\right )^{-n} \, _2F_1\left (-\frac {1}{2},-n;\frac {1}{2};-\frac {b x}{a}\right )}{\sqrt {x}} \]

[Out]

-2*(b*x+a)^n*hypergeom([-1/2, -n],[1/2],-b*x/a)/((1+b*x/a)^n)/x^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 43, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {68, 66} \begin {gather*} -\frac {2 (a+b x)^n \left (\frac {b x}{a}+1\right )^{-n} \, _2F_1\left (-\frac {1}{2},-n;\frac {1}{2};-\frac {b x}{a}\right )}{\sqrt {x}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b*x)^n/x^(3/2),x]

[Out]

(-2*(a + b*x)^n*Hypergeometric2F1[-1/2, -n, 1/2, -((b*x)/a)])/(Sqrt[x]*(1 + (b*x)/a)^n)

Rule 66

Int[((b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[c^n*((b*x)^(m + 1)/(b*(m + 1)))*Hypergeometr
ic2F1[-n, m + 1, m + 2, (-d)*(x/c)], x] /; FreeQ[{b, c, d, m, n}, x] &&  !IntegerQ[m] && (IntegerQ[n] || (GtQ[
c, 0] &&  !(EqQ[n, -2^(-1)] && EqQ[c^2 - d^2, 0] && GtQ[-d/(b*c), 0])))

Rule 68

Int[((b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Dist[c^IntPart[n]*((c + d*x)^FracPart[n]/(1 + d*(
x/c))^FracPart[n]), Int[(b*x)^m*(1 + d*(x/c))^n, x], x] /; FreeQ[{b, c, d, m, n}, x] &&  !IntegerQ[m] &&  !Int
egerQ[n] &&  !GtQ[c, 0] &&  !GtQ[-d/(b*c), 0] && ((RationalQ[m] &&  !(EqQ[n, -2^(-1)] && EqQ[c^2 - d^2, 0])) |
|  !RationalQ[n])

Rubi steps

\begin {align*} \int \frac {(a+b x)^n}{x^{3/2}} \, dx &=\left ((a+b x)^n \left (1+\frac {b x}{a}\right )^{-n}\right ) \int \frac {\left (1+\frac {b x}{a}\right )^n}{x^{3/2}} \, dx\\ &=-\frac {2 (a+b x)^n \left (1+\frac {b x}{a}\right )^{-n} \, _2F_1\left (-\frac {1}{2},-n;\frac {1}{2};-\frac {b x}{a}\right )}{\sqrt {x}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.09, size = 43, normalized size = 1.00 \begin {gather*} -\frac {2 (a+b x)^n \left (1+\frac {b x}{a}\right )^{-n} \, _2F_1\left (-\frac {1}{2},-n;\frac {1}{2};-\frac {b x}{a}\right )}{\sqrt {x}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + b*x)^n/x^(3/2),x]

[Out]

(-2*(a + b*x)^n*Hypergeometric2F1[-1/2, -n, 1/2, -((b*x)/a)])/(Sqrt[x]*(1 + (b*x)/a)^n)

________________________________________________________________________________________

Mathics [C] Result contains higher order function than in optimal. Order 9 vs. order 5 in optimal.
time = 15.30, size = 26, normalized size = 0.60 \begin {gather*} \frac {-2 a^n \text {hyper}\left [\left \{-\frac {1}{2},-n\right \},\left \{\frac {1}{2}\right \},\frac {b x \text {exp\_polar}\left [I \text {Pi}\right ]}{a}\right ]}{\sqrt {x}} \end {gather*}

Warning: Unable to verify antiderivative.

[In]

mathics('Integrate[(a + b*x)^n/x^(3/2),x]')

[Out]

-2 a ^ n hyper[{-1 / 2, -n}, {1 / 2}, b x exp_polar[I Pi] / a] / Sqrt[x]

________________________________________________________________________________________

Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {\left (b x +a \right )^{n}}{x^{\frac {3}{2}}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x+a)^n/x^(3/2),x)

[Out]

int((b*x+a)^n/x^(3/2),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^n/x^(3/2),x, algorithm="maxima")

[Out]

integrate((b*x + a)^n/x^(3/2), x)

________________________________________________________________________________________

Fricas [F]
time = 0.32, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^n/x^(3/2),x, algorithm="fricas")

[Out]

integral((b*x + a)^n/x^(3/2), x)

________________________________________________________________________________________

Sympy [C] Result contains complex when optimal does not.
time = 14.71, size = 29, normalized size = 0.67 \begin {gather*} - \frac {2 a^{n} {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, - n \\ \frac {1}{2} \end {matrix}\middle | {\frac {b x e^{i \pi }}{a}} \right )}}{\sqrt {x}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)**n/x**(3/2),x)

[Out]

-2*a**n*hyper((-1/2, -n), (1/2,), b*x*exp_polar(I*pi)/a)/sqrt(x)

________________________________________________________________________________________

Giac [F] N/A
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^n/x^(3/2),x)

[Out]

Could not integrate

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {{\left (a+b\,x\right )}^n}{x^{3/2}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*x)^n/x^(3/2),x)

[Out]

int((a + b*x)^n/x^(3/2), x)

________________________________________________________________________________________